package com.framework.model.system.vo;

import com.framework.common.annotation.QueryParam;
import com.framework.model.system.SystemRoleMenu;

import java.io.Serializable;
import java.util.List;

/**
 * @author 龘鵺
 * @className com.framework.model.system.vo
 * @description 角色菜单视图类
 * @datetime 2025-01-09 11:11:11
 * @version 1.0
 */
public class SystemRoleMenuVo extends SystemRoleMenu implements Serializable {
    /**
     * 角色名称
     */
    @QueryParam(code = "sr.ROLE_NAME")
    private String roleName;
    /**
     * 菜单名称
     */
//    @QueryParam(code = "sm.MENU_NAME")
    private String menuName;
    /**
     * 角色代码
     */
    @QueryParam(code = "sr.ROLE_CODE")
    private String roleCode;
    /**
     * 菜单代码
     */
    @QueryParam(code = "sm.MENU_CODE")
    private String menuCode;
    /**
     * 菜单编号
     */
    private List<Long> menuIdList;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode == null ? null : menuCode.trim();
    }

    public List<Long> getMenuIdList() {
        return menuIdList;
    }

    public void setMenuIdList(List<Long> menuIdList) {
        this.menuIdList = menuIdList;
    }
}
